﻿using ErrorCode;
using MediatR;

namespace Api.Application.Command.Leave
{
    public class UpdateLeaveCommand:IRequest<ApiResult<int>>
    {
        public int Id {  get; set; }
        /// <summary>
        /// 当前登录人
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 当前登录人的部门 外键
        /// </summary>
        public int DeionId { get; set; }
        /// <summary>
        /// 请假类型
        /// </summary>   
        public string LeaveType { get; set; }

        public DateTime LeaveStartTime { get; set; }

        public DateTime LeaveEndTime { get; set; }

        public DateTime BaoDaoTime { get; set; }
        /// <summary>
        /// 请假原因
        /// </summary>
        public string LeaveReason { get; set; }

        public string? BuFuName { get; set; }
    }
}
